package com.suse.lhw.hms.exersiseserver.domin;

import lombok.Data;

/**
 * @ProjectName: health_manage_system
 * @Package: com.suse.lhw.hms.exersiseserver.domin
 * @ClassName: EPackage
 * @Description: java类作用描述
 * @Author: 李鸿炜
 * @CreateDate: 2020/5/9 16:35
 * @UpdateUser: 更新者
 * @UpdateDate: 2020/5/9 16:35
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */
@Data
public class EPackage {
    private Integer id;

    private String imgurl;

    private String name;

    private String description;

    private String videourl;

    private Integer status;

    private Integer categoryid;

    /**
     * 如果是用户自己上传的套餐则有userId的属性
     */
    private String userid;

    /**
     * 难度
     * 难度
     */
    private Integer difficulty;

    public EPackage(String imgurl, String name, String description, String videourl, Integer status, Integer categoryid, String userid, Integer difficulty) {
        this.imgurl = imgurl;
        this.name = name;
        this.description = description;
        this.videourl = videourl;
        this.status = status;
        this.categoryid = categoryid;
        this.userid = userid;
        this.difficulty = difficulty;
    }
}